package com.sptpc.demo.repository;

import com.sptpc.demo.model.Order;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrderRepository extends JpaRepository<Order,Integer> {
    List<Order> findOrdersByCustomerAndState(String customer,Integer state);
}
